home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.c
- Subject: Re: Standard question - pointer initialization
- Date: 15 Mar 1996 18:09:29 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Mar15110929@qcd.lanl.gov>
- References: <4hk9un$906@hammer.msfc.nasa.gov> <4hl6rr$nde@news.xs4all.nl>
- <313E6028.1C19@ix.netcom.com> <4hnpsl$g8c@hacgate2.hac.com>
- <4hq9hsINN998@keats.ugrad.cs.ubc.ca> <4i7cgn$5da@baygull.rtd.com>
- <TANMOY.96Mar13184413@qcd.lanl.gov> <3148D825.945@hawaii.edu>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: Dave Carien's message of Thu, 14 Mar 1996 18:38:29 -0800
-
- In article <3148D825.945@hawaii.edu>
- Dave Carien <davec@hawaii.edu> writes:
- <snip>
- DC: I was under the impression that NULL was a pointer type and to convert it
- DC: to a char type it you would need to do something such as:
- DC:
- DC: (char)NULL
- DC:
- DC: Of course it would be wiser to use '\0', or just 0 for an int typecast.
- DC: If I'm wrong I'm sorry.
-
- Your impressions were incorrect. I have posted a reply to the other
- copy of your message up there.
-
- Cheers
- Tanmoy
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-